﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoyoEden.Models;

namespace CoyoEden.Services
{
    public interface IPortalFileService
    {
        /// <summary>
        /// Retrieves a PortalFile from the provider based on the specified id.
        /// </summary>
        PortalFile SelectPortalFile(int id);
        /// <summary>
        /// Inserts a new PortalFile into the data store specified by the provider.
        /// </summary>
        void InsertPortalFile(PortalFile item);
        /// <summary>
        /// Updates an existing PortalFile in the data store specified by the provider.
        /// </summary>
        void UpdatePortalFile(PortalFile item);
        /// <summary>
        /// Deletes a PortalFile from the data store specified by the provider.
        /// </summary>
        void DeletePortalFile(PortalFile item);
        /// <summary>
        /// Retrieves all PortalFile from the provider and returns them in a List.
        /// </summary>
        List<PortalFile> FillPortalFiles();
    }
}
